#ifndef HOOKLOADLIBRARY_H_
#define HOOKLOADLIBRARY_H_

typedef HMODULE  (WINAPI *LoadLibraryA_t)   (char*);
typedef HMODULE  (WINAPI *LoadLibraryW_t)   (wchar_t*);
typedef HMODULE  (WINAPI *LoadLibraryExA_t) (char*, HANDLE,DWORD);
typedef HMODULE  (WINAPI *LoadLibraryExW_t) (wchar_t*, HANDLE,DWORD);

HMODULE WINAPI HLoadLibraryA(char* str);
HMODULE WINAPI HLoadLibraryW(wchar_t* wstr);
HMODULE WINAPI HLoadLibraryExA(char* str, HANDLE x, DWORD dwFlags);
HMODULE WINAPI HLoadLibraryExW(wchar_t* wstr, HANDLE x, DWORD dwFlags);

void HookLoadLibrary ();
void UnhookLoadLibrary();

#endif /* HOOKLOADLIBRARY_H_ */
